import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
import { NavBar } from 'vant';
import axios from "axios";
import VueAxios from "vue-axios";
import { Swipe, SwipeItem } from 'vant';
import { Image as VanImage } from 'vant';
import { Button } from 'vant';

// 配置统一前缀
axios.defaults.baseURL = 'http://localhost:8081';
createApp(App).use(store).use(router).use(Vant).use(NavBar).use(VueAxios,axios).use(Swipe).use(SwipeItem).use(VanImage).use(Button).mount('#app')
